-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove DefId
from some SelectionCandidate
variants
#102785
Conversation
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
lol i guess this beats out my pr #102784 |
r=me when it's green! |
@bors r=compiler-errors |
Wouldn't be better to assign def_ids as locals and keep the debug info as it was? |
I guess, but since the obligation already has the def_id, so it would be printed with |
…d, r=compiler-errors Remove `DefId` from some `SelectionCandidate` variants They are both from `obligation.predicate.def_id()`, which do not need to be on the `SelectionCandidate`. cc `@lcnr` `@compiler-errors`
…d, r=compiler-errors Remove `DefId` from some `SelectionCandidate` variants They are both from `obligation.predicate.def_id()`, which do not need to be on the `SelectionCandidate`. cc ``@lcnr`` ``@compiler-errors``
…d, r=compiler-errors Remove `DefId` from some `SelectionCandidate` variants They are both from `obligation.predicate.def_id()`, which do not need to be on the `SelectionCandidate`. cc ```@lcnr``` ```@compiler-errors```
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#101520 (Allow transmutes between the same types after erasing lifetimes) - rust-lang#102675 (Remove `mir::CastKind::Misc`) - rust-lang#102778 (Fix MIR inlining of asm_unwind) - rust-lang#102785 (Remove `DefId` from some `SelectionCandidate` variants) - rust-lang#102788 (Update rustc-dev-guide) - rust-lang#102789 (Update browser UI test version) - rust-lang#102797 (rustdoc: remove no-op CSS `.rightside { position: initial }`) - rust-lang#102798 (rustdoc: add main-heading and example-wrap link CSS to big selector) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
They are both from
obligation.predicate.def_id()
, which do not need to be on theSelectionCandidate
.cc @lcnr @compiler-errors